Skip to content

🚦 Replacing chalk with picocolors#189

Closed
dios-david wants to merge 1 commit intouswitch:masterfrom
dios-david:use-picocolors-in-koa-signal
Closed

🚦 Replacing chalk with picocolors#189
dios-david wants to merge 1 commit intouswitch:masterfrom
dios-david:use-picocolors-in-koa-signal

Conversation

@dios-david
Copy link
Contributor

@dios-david dios-david commented Jan 26, 2023

Replacing chalk with picocolors which claims to be faster and smaller than chalk (benchmark).

I'm having problems with building an app with vite which uses koa-signal, where the errors point to chalk and ansi-styles (which is used by chalk).

After spending some time trying to pin chalk to a different version without any success, I thought replacing chalk with a newer (and smaller) alternative would be a better thing to do - and it was 3 majors behind anyway.

With these changes my build works fine now 🎉

@joshcroad joshcroad closed this May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants